package per.yhh.xxxtsj.service;

import com.baomidou.mybatisplus.extension.service.IService;
import per.yhh.xxxtsj.entity.Category;
import per.yhh.xxxtsj.entity.PageResult;

import java.util.List;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author yhh
 * @since 2022-04-10
 */
public interface CategoryService extends IService<Category> {
    List<Category> getCategories();

    PageResult<Category> getCategoriesByPage(Integer num, Integer size);
    Boolean addCateGory(Category category);
}
